<template>
	<el-row :gutter="20" type="flex">
		<el-col :span="12">
			<el-button type="primary" size="small" icon="el-icon-plus" @click="showEditDialog('add')" v-if="$store.getters.userType == 1">
				新增组织架构
			</el-button>
		</el-col>
	</el-row>
</template>
<script>
export default {
	methods: {
		showEditDialog() {
			this.$bus.$emit('showDialogDeptAdd');
		}
	}
};
</script>
